import request from "@/utils/request";
/**
 * 获取单个配置
 * @param params
 * @returns {*}
 */
export function constant(params){
    return request({
        url:'/file/getConstant',
        method:'GET',
        params
    })
}

/**
 * 获取多个配置
 * @param data
 * @returns {*}
 */
export function constantMultiple(data){
    return request({
        url:'/getConstantMultiple',
        method:'POST',
        data
    })
}
